package com.liuyucheng.idea_springboot.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel("用户实体类")
@Data
@Accessors(chain = true)
public class SwaggerUser {

    @ApiModelProperty(value = "主键",example = "0")
    private int id;

    @ApiModelProperty(value = "姓名",example = "0")
    private String name;
}
